package com.erp.app.admin.companyMenu.beans;

import com.erp.app.admin.companyMenu.ejb.CompanyMenuGroupPK;
import com.erp.framework.model.pk.SimpleBasePk;
import com.erp.framework.model.vo.SimpleBaseVo;

public class CompanyMenuGroupSearchVO extends SimpleBaseVo {

    private String roleGroupId;
    private String groupId;
    private String menuId;
    private String parentMenuId;
    private String menuName;
    private String menuType;
    private String menuOrder;
    private String menuUrl;
    private String companyCode;
    private String description;
    private String existInd;

    protected void setChildTypesName() {
        // this.childTypesName=new String[1];
        // this.childTypesName[0]="com.erp.object.admin.companyMenu.beans.CompanyMenuObjectVO";
    }

    protected void setDaoName() {
        // this.daoName="com.erp.object.admin.companyMenu.dao.CompanyMenuGroupDAO";
    }

    public SimpleBasePk getPrimaryKey() {
        if (companyCode == null || groupId == null || menuId == null || roleGroupId == null)
            return null;
        else
            return new CompanyMenuGroupPK(this.companyCode, this.groupId, this.menuId, this.roleGroupId);
    }

    public String getCompanyCode() {

        return companyCode;
    }

    public void setCompanyCode(String companyCode) {

        this.companyCode = companyCode;
    }

    public String getDescription() {

        return description;
    }

    public void setDescription(String description) {

        this.description = description;
    }

    public String getExistInd() {

        return existInd;
    }

    public void setExistInd(String existInd) {

        this.existInd = existInd;
    }

    public String getGroupId() {

        return groupId;
    }

    public void setGroupId(String groupId) {

        this.groupId = groupId;
    }

    public String getMenuId() {

        return menuId;
    }

    public void setMenuId(String menuId) {

        this.menuId = menuId;
    }

    public String getMenuName() {

        return menuName;
    }

    public void setMenuName(String menuName) {

        this.menuName = menuName;
    }

    public String getMenuOrder() {

        return menuOrder;
    }

    public void setMenuOrder(String menuOrder) {

        this.menuOrder = menuOrder;
    }

    public String getMenuType() {

        return menuType;
    }

    public void setMenuType(String menuType) {

        this.menuType = menuType;
    }

    public String getMenuUrl() {

        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {

        this.menuUrl = menuUrl;
    }

    public String getParentMenuId() {

        return parentMenuId;
    }

    public void setParentMenuId(String parentMenuId) {

        this.parentMenuId = parentMenuId;
    }

    public String getRoleGroupId() {

        return roleGroupId;
    }

    public void setRoleGroupId(String roleGroupId) {

        this.roleGroupId = roleGroupId;
    }
}
